using System;
using System.Collections.Generic;
using System.Text;

namespace GURUCORE.Portal.Core
{
    public static class CONST
    {
        /// <summary>
        /// Anyone visitor GURUCORE Portal has an GURUID passport in the Session, .
        /// If login, visitor become AuthenticatedVisitor (User), then this Session record have value,
        /// else it is null
        /// </summary>		
        public const string USER_CREDENTIAL = "__@@USER_CREDENTIAL@@";

        public const string PORTALBUSINESSDLLGUID = "5ce360c2-a42d-4d5f-aa75-568227b9125c";

		public const int ID_GUEST = 1;

        /// <summary>
        /// Theme
        /// </summary>
        public const string THEME_FOLDER = "Theme";
        /// <summary>
        /// NoTheme
        /// </summary>
        public const string THEME_DEFAULT = "NoTheme";
        /// <summary>
        /// Html
        /// </summary>
        public const string HTML_FOLDER = "Html";
        /// <summary>
        /// layout.htm
        /// </summary>
        public const string HTML_DEFAULT_LAYOUT = "layout.htm";
        /// <summary>
        /// frame.htm
        /// </summary>
        public const string HTML_DEFAULT_PAGELET_LAYOUT = "frame.htm";
        /// <summary>
        /// __ERROR__
        /// </summary>
        public const string ZONE_ERROR = "__ERROR__";

        /// <summary>
        /// Config
        /// </summary>
        public const string CONFIG_FOLDER = "Config";
        /// <summary>
        /// ControlDTOMapper.config
        /// </summary>
        public const string CONFIG_CONTROL_2_DTO_MAPPER_FILE = "ControlDTOMapper.config";
        /// <summary>
        /// URLMapper.config
        /// </summary>
        public const string CONFIG_URL_MAPPER_FILE = "URLMapper.config";

        /// <summary>
        /// Key to get current selected locale in Session, use by Session[LOCALE_SESSION_KEY]
        /// </summary>
        public const string LOCALE_SESSION_KEY = "Website Locale";
        /// <summary>
        /// Key to get current selected theme in Session, use by Session[THEME_SESSION_KEY]
        /// </summary>
        public const string THEME_SESSION_KEY = "Website Theme";

        public const string THEME_THUMBNAIL_FILE_NAME = "thumbnail.png";


        public const int MEDIATYPEID_IMAGE = 1;
        public const int MEDIATYPEID_FLASH = 2;

        /// <summary>
        /// ID of server control, for PageController finding and filling value
        /// </summary>
        public const string PAGELET_TITLE = "PageletTitle";
        /// <summary>
        /// ID of server control, for PageController finding and filling value
        /// </summary>
        public const string PAGELET_CONTROL_BUTTON = "PageletControlButton";


        #region These const string must be unique and difference between each other
        
        
        public const string PAGLET_BODY_CLIENTSIDE_PREFIX               = "G_PageletBody_PageConfigID";
        public const string PAGLET_BODY_DIVWRAP_CLIENTSIDE_PREFIX       = "G_PageletBodyDivWrap_PageConfigID";

        public const string PAGLET_CONTROLBAR_CLIENTSIDE_PREFIX         = "G_PageletControlBar_PageConfigID";
        public const string PAGELET_CONTROL_BUTTON_CLIENTSIDE_PREFIX    = "G_PageletControlButton_PageConfigID";
        public const string PAGLET_TITLE_CLIENTSIDE_PREFIX              = "G_PageletTitle_PageConfigID";

        #endregion
    }
}
